package mc.support.web.action.invoke;

import mc.support.web.action.ActionWrapper;
import mc.support.web.action.aware.Aware;

import java.util.Map;

/**
 * Created with IntelliJ IDEA. <br/>
 * Author: Francis Yun    <br/>
 * Date: 2014-04-21  <br/>
 */
public interface Invoker<AWARE extends Aware> {

    int getPriority();
    Class<AWARE> getAwareClass();
    Object invoke(AWARE aware, ActionWrapper action, Map<String, Object> params) throws Exception;
    ResultWriter getResultWriter();

}
